# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-pysimplesoap
_pkgname=PySimpleSOAP
pkgver=1.16.2
pkgrel=7
pkgdesc="Simple SOAP library"
url="https://github.com/pysimplesoap/pysimplesoap"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # Tests only work on python2

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel --destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
179387328d81a08413820cd0ce6cb92fedc13cd8be4451c38bd70b7a4408555acd80ca25cdf2ddc5d5295bcd9346d646c65f93b36368a35f81399dd07eba0643  PySimpleSOAP-1.16.2.tar.gz
"
